XML Types and Return Types
This page last changed on Nov 28, 2008.
Oracle Data Service Integrator Documentation > Data Services Developer's Guide XML Types and Return TypesIn entity data services there are two types of types:
XML types and return types are very closely related. In data service operations involving entity data services, XML types define the shape of the data service. Physically XML Types are represented a global elements in XML schemas (XSD files.) In other words, the XML types represents in hierarchical form the shape of the data service. A way to think of these two artifacts is to first consider the class and the instance of the class in such languages as Java. XML types can be thought of as a class from which objects in the form of functions are created. In many cases the information needed by these functions is either:
Where XML Types are UsedOracle Data Service Integrator uses XML types in its model diagrams, entity data services, query editor, update mapper, and metadata browser. Where Return Types are UsedReturn types are sometimes called target schemas. Return types can be thought of as the backbone of both data services and data models. Programmatically, return types are the "r" in FLWR (for-let-where-return) queries.
Return types have the following main purposes:
Return types describes the structure or shape of data that a query produces when it is run.
|
Document generated by Confluence on Jan 13, 2009 15:57 |